#ifndef EXPORTWORKER_H
#define EXPORTWORKER_H
#include <QThread>
#include <QMutex>

class ExportWorker : public QThread
{
    Q_OBJECT

public:
    static ExportWorker* getInstance();
    void startWork();

protected:
    void run();

private:
    ExportWorker();

    QMutex g_mutex;
    int8_t g_running = -1;

signals:
    void startWorkSignal();
    void completeWorkSignal();
};

#endif // EXPORTWORKER_H
